<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:include page="menu.jsp"></jsp:include>

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>修改密码</title>
<link rel="stylesheet" type="text/css" href="css/my.css" />
<style type="text/css">
body {
    background-image: url("img/background.png");
    background-size: cover;
    font-family: "Noto Sans SC", sans-serif;
}
</style>
<script type="text/javascript">
	function ConfirmModify() {
		return confirm("您确定要更新密码吗？");
	}
</script>
</head>
<body>
	<div style="height: 150px"></div>
	<form action="UpdatePassword" method="post" class="f1">
		<h1 class="title">修改密码</h1>
		<table>
			<tr>
				<td>账号</td>
				<td>
					<input type="text" value="${user.username}" disabled="disabled"/>
					<input type="hidden" name="username" value="${user.username}" />
				</td>
			</tr>
			<tr>
				<td>密码</td>
				<td><input type="password" name="password"  placeholder="请输入新密码："/></td>
			</tr>
			
			<tr>
				<td></td>
				<td colspan="2"><input type="submit" value="修改" class="sub1" onclick="return ConfirmModify()"/></td>
			</tr>
		</table>
		
	</form>
</body>
</html>